home *** CD-ROM | disk | FTP | other *** search
- Subject: Frame View ID Voodoo
- Sent: 6/25/96 11:04 AM
- Received: 6/25/96 11:23 AM
- From: John Casey, jcasey@ncs-ssc.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Is there a reason why the frame's view ID is set to the presentation type
- by default? I had a strange bug that occurred when I attempted to
- FindViewById for one of my frame's subviews. In this "random" case, my
- frame ID ended up being the same as one of my views. I fixed the problem
- by manually setting my frame's view ID in my frame's constructor.
- However, I am still a little confused by the logic behind setting the
- frame's view ID to this fairly "random" value.
-
- It would appear to make more sense to set the frame's default view ID to
- zero. An even better solution would be to add a field in the frame
- layout resource for the frame's view ID.
-
- Am I missing something here? Is there a reason that the frame's view ID
- is set to the presentation type?
-
-
- ========================================================================
- John Casey email: jcasey@ncs-ssc.com
- Vice President web: http://www.ncs-ssc.com
- Nation Computer Services voice: (804) 378-8917
- fax: (601) 689-8130
- ========================================================================
-